<template>
    <el-input v-model="fieldModel" :placeholder="fieldItem.placeholder" clearable :type="fieldItem.options.type"
        :maxlength="fieldItem.options.maxlength" show-word-limit :size="fieldItem.size" :disabled="fieldItem.disabled">
        <template v-if="fieldItem.options.append" #append>
            <el-button :disabled="field.options.disabled || field.options.appendButtonDisabled"
                :icon=fieldItem.options.icon>{{ fieldItem.options.append }}</el-button>
        </template>
    </el-input>
</template>
<script setup>
import { ref, onMounted, defineModel } from 'vue'
const fieldModel = defineModel()
const props = defineProps({
    fieldItem:{type:Object,default:()=>{}}
})
</script>